|
The FermaT Transformation System is an industrial strength program transformation system targeted at reverse engineering, program comprehension and migration between programming languages. The system is currently being used to translate IBM 370 Assembler modules into equivalent readable and maintainable C and COBOL programs. FermaT is available as free software under the GNU General Public License (GPL). A program transformation is any operation which changes the text of a program without changing its external behaviour. A simple example is reversing the arms of an IF statement:
is semantically equivalent to:
A more complex example of a program transformation is Semantic Slicing. Consider the following WSL program:
Suppose we are interested in the final value of the variable evendifference. Save the program as a text file test-1.wsl and run the transformation:
This generates the output file test-2.wsl:
See (this paper ) for more information about semantic slicing. (Download FermaT here ) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「FermaT Transformation System」の詳細全文を読む スポンサード リンク
|